package org.vectrics.recruiter.user.resume.email;

import java.util.Collection;
import java.util.HashSet;

public class StringScoreSet extends HashSet {
	public static final long serialVersionUID = 235236523242L;
	
	public StringScoreSet() {
		super();
	}

	public StringScoreSet(int initialCapacity) {
		super(initialCapacity);
	}

	public StringScoreSet(int initialCapacity, float loadFactor) {
		super(initialCapacity, loadFactor);
	}

	
	public StringScore add(String value, int score) {
		StringScore stringScore = new StringScore();
		stringScore.setScore(new Long(score));
		stringScore.setValue(value);
		this.add(stringScore);
		return(stringScore);
	}
	
}
